Enable file locking support for Hurd
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 16 Dec 2025 10:45:36 +0000 (11:45 +0100)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Wed, 8 Apr 2026 17:02:02 +0000 (19:02 +0200)
commit4786fc9ce690abe21a35dae785ca70ccedbbed98
treef4e63d25d1b210c6d5ed5cfa3ac0a9d8b43e9f62
parent87124b7ad457a543bda6bc9e55c406abe3e62d7e
Enable file locking support for Hurd

like Illumos in #148322, Hurd was missed when originally introducing locking
gates per target OS in #132977. building rustc on Hurd was broken as a result
since 1.91.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name Enable-file-locking-support-for-Hurd.patch
library/std/src/fs/tests.rs
library/std/src/sys/fs/unix.rs